import { useAppFeedback } from '@/hooks/feedback/useAppFeedback';

export const useAppNotificationStore = defineStore('useAppNotificationStore', function () {
  // const message = ref<MessageInstance>();
  // const notification = ref<NotificationInstance>();
  // const modal = ref<Omit<ModalStaticFunctions, 'warn'>>();
  // (() => {
  //   const staticFunction = App.useApp();
  //   message.value = staticFunction.message;
  //   modal.value = staticFunction.modal;
  //   notification.value = staticFunction.notification;
  // })();

  const { message, modal, notification } = useAppFeedback();

  return { message, notification, modal };
});
